Module Specs dialog box
Use the Module Specs dialog box to select which modules will be run in a simulation.
Note: When you run a module as part of the model that contains it, the module uses the model's run specifications (as defined in the Run Specs dialog box).
To open the Module Specs dialog box, choose Module Specs from the Run menu.
Run Entire Model
Select this option to run all entities in the model. This is the default option.
Run Selected Modules
Select this option to run one or more selected modules only. When you select this option, use the check boxes below the option to select which modules you want to run.
Whenever you run a model using the Run Selected Modules option, the software applies the following rules to isolate the selected modules from the rest of the model:
- Building blocks that are entirely within a running sector/module will be run dynamically in the sector's/module's simulation.
- Flows between running sectors/modules will be run dynamically.
- Stocks, flows, and converters that are not part of a running sector/module will be held constant at their initial values. Stocks and converters will report this initial value in tables and in numeric displays.
- If the flow regulator is within a running sector/module, an outflow from a running sector/module (either to the model diagram or to a non-running sector/module) will be treated as flowing into a cloud.
- If the flow regulator is outside of a running sector/module, an outflow from a running sector/module (either to the model diagram or to a non-running sector/module) will be held constant at its initial value unless it is defined by an entity within an active sector, in which case it could be dynamic. Flows from queues will be set to zero.
- If the flow regulator is within a running sector/module, an inflow to a running sector/module (either from the model diagram or from a non-running sector/module) will be run according to its explicit flow logic unless it is dependent on entities outside the running sectors/modules, in which case the flow will be held constant at its initial value.
- If the flow regulator is outside of a running sector/module, an inflow to a running sector/module (either from the model diagram or from a non-running sector/modules) will be held constant at its initial value, subject to any active (i.e., dynamically changing) logic coming from the running sectors/modules.
Module check boxes
Use these check boxes to select which modules you want to run. A check box appears for each module in the model, but check boxes are enabled only for fully defined modules.
A fully defined module is one for which all module inputs and module outputs are assigned.
The sector check boxes are enabled if you selected the Run Selected Modules option.
Clear All button
Use this button to deselect all selected module check boxes. This button is available only when the Run Selected Modules option is selected.